<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $('input').blur(function(){
      var data = $(this).val();
      alert(data);
    });
  });
</script>
<p>Blur on any input</p>
<p><input value="php"></p>
<p><input value="C"></p>
<p><input value="C##"></p>
<p><input value="Java"></p>
<p><input value=".Net"></p>
<p><input value="Perl"></p>
